package net.qiqb.core.domain.event.receiver;

import net.qiqb.core.domain.event.DomainEvent;

/**
 * 领域事件接受到后，通过
 */
public interface DomainEventMulticaster {
    /**
     * 发现并广发事件
     * @param domainEventObject
     * @return
     */
    int findAndMulticastEvent(DomainEvent domainEventObject);
}
